package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品销量统计对象 zsyh_parts_sales
 * 
 * @author yuexl
 * @date 2021-12-29
 */
public class ZsyhPartsSales extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 厂家id */
    @Excel(name = "厂家id")
    private String factoryId;

    /** 产品id */
    @Excel(name = "产品id")
    private String partsId;

    /** 规格id */
    @Excel(name = "规格id")
    private String attributeId;

    /** 预订量 */
    @Excel(name = "预订量")
    private BigDecimal bookNum;

    /** 发货量 */
    @Excel(name = "发货量")
    private BigDecimal deliveryNum;

    /** 统计年份 */
    @Excel(name = "统计年份")
    private Integer periodYear;

    /** 统计月份 */
    @Excel(name = "统计月份")
    private Integer periodMonth;

    /** 是否核算（1是0否） */
    @Excel(name = "是否核算", readConverterExp = "1=是0否")
    private String isCheck;

    private String factoryName;

    private String partsName;

    private String attributeName;

    private String attributeLogo;

    /** 预订金额 */
    @Excel(name = "预订金额")
    private BigDecimal bookMoney;

    /** 发货金额 */
    @Excel(name = "发货金额")
    private BigDecimal deliveryMoney;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setFactoryId(String factoryId) 
    {
        this.factoryId = factoryId;
    }

    public String getFactoryId() 
    {
        return factoryId;
    }
    public void setPartsId(String partsId) 
    {
        this.partsId = partsId;
    }

    public String getPartsId() 
    {
        return partsId;
    }
    public void setAttributeId(String attributeId) 
    {
        this.attributeId = attributeId;
    }

    public String getAttributeId() 
    {
        return attributeId;
    }
    public void setBookNum(BigDecimal bookNum) 
    {
        this.bookNum = bookNum;
    }

    public BigDecimal getBookNum() 
    {
        return bookNum;
    }
    public void setDeliveryNum(BigDecimal deliveryNum) 
    {
        this.deliveryNum = deliveryNum;
    }

    public BigDecimal getDeliveryNum() 
    {
        return deliveryNum;
    }
    public void setPeriodYear(Integer periodYear) 
    {
        this.periodYear = periodYear;
    }

    public Integer getPeriodYear() 
    {
        return periodYear;
    }
    public void setPeriodMonth(Integer periodMonth) 
    {
        this.periodMonth = periodMonth;
    }

    public Integer getPeriodMonth() 
    {
        return periodMonth;
    }
    public void setIsCheck(String isCheck) 
    {
        this.isCheck = isCheck;
    }

    public String getIsCheck() 
    {
        return isCheck;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryId", getFactoryId())
            .append("partsId", getPartsId())
            .append("attributeId", getAttributeId())
            .append("bookNum", getBookNum())
            .append("deliveryNum", getDeliveryNum())
            .append("periodYear", getPeriodYear())
            .append("periodMonth", getPeriodMonth())
            .append("isCheck", getIsCheck())
            .toString();
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public String getPartsName() {
        return partsName;
    }

    public void setPartsName(String partsName) {
        this.partsName = partsName;
    }

    public String getAttributeName() {
        return attributeName;
    }

    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName;
    }

    public String getAttributeLogo() {
        return attributeLogo;
    }

    public void setAttributeLogo(String attributeLogo) {
        this.attributeLogo = attributeLogo;
    }

    public BigDecimal getBookMoney() {
        return bookMoney;
    }

    public void setBookMoney(BigDecimal bookMoney) {
        this.bookMoney = bookMoney;
    }

    public BigDecimal getDeliveryMoney() {
        return deliveryMoney;
    }

    public void setDeliveryMoney(BigDecimal deliveryMoney) {
        this.deliveryMoney = deliveryMoney;
    }
}
